/*
 * @Author: 李琪 liqi@lark2game.com
 * @Date: 2025-08-08 16:00:30
 * @LastEditors: 李琪 liqi@lark2game.com
 * @LastEditTime: 2025-08-08 16:05:39
 * @FilePath: /oopsWorld/assets/script/game/common/table/TableLanguage.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { JsonUtil } from "db://oops-framework/core/utils/JsonUtil";

export class TableLanguage {
    static TableName: string = "Language";

    private data: any;

    init(id: number) {
        var table = JsonUtil.get(TableLanguage.TableName);
        this.data = table[id];
        this.id = id;
    }

    /** 编号【KEY】 */
    id: number = 0;

    /** 简体中文 */
    get zh(): string {
        return this.data.zh;
    }
    /** 英文 */
    get en(): string {
        return this.data.en;
    }
}
